package Reflection;

import org.junit.Test;

import java.io.FileNotFoundException;

public class TestProject {

    //对该项目业务进行测试:
    @Test
    public void testProject() throws FileNotFoundException, IllegalAccessException {
        Teacher teacher = new Teacher("小板",20,175.5,"男","热爱学习技术且分享技术");
        Teacher teacher1 = new Teacher("小狗",22,179.5,"男","热爱骨头且分享骨头");
        Teacher teacher2 = new Teacher("小扳手",22,174.5,"男","热爱奋斗");

        Student student = new Student("小童",21,170.0,"女","爱笑");
        Student student1 = new Student("小黑",20,178.0,"女","爱哭");

        Project.business(teacher);
        Project.business(teacher1);
        Project.business(teacher2);
        Project.business(student);
        Project.business(student1);

    }
}
